﻿using Microsoft.AspNetCore.Mvc;
using System.Net;

namespace Test.Api.Controllers.V1
{
    [ApiVersion("1.0")]
    [ApiController]
    [Route("api/[controller]/[action]")]
    [AllowAnonymous]
    public class JavaController : Controller
    {
        [HttpGet]
        public IActionResult Error()
        {
            return StatusCode((int)HttpStatusCode.InternalServerError);
        }
    }
}
